<?php namespace Summer\Slideshow\Controllers;

use Backend\Classes\Controller;
use BackendMenu;

class Slideshow extends Controller
{
    public $implement = [
        'Backend\Behaviors\ListController',
        'Backend\Behaviors\FormController',
        'Backend\Behaviors\RelationController'
    ];
    public $requiredPermissions = [
        'slideshow_base'
    ];
    public $listConfig = 'config_list.yaml';
    public $formConfig = 'config_form.yaml';
    public $relationConfig = 'config_relations.yaml';

    public function __construct()
    {
        parent::__construct();
        BackendMenu::setContext('Summer.Slideshow', 'main-menu-item-slideshow', 'side-menu-item-slideshow');
    }

}
